//
//  CircleListTopCell.swift
//  Gaoloumi
//
//  Created by Jasper on 4/1/16.
//  Copyright © 2016 Jasper. All rights reserved.
//

import UIKit

class CircleListTopCell: UITableViewCell {

    @IBOutlet weak var titleLabel: UILabel!
    @IBOutlet weak var topLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        topLabel.layer.cornerRadius = 3
        topLabel.layer.masksToBounds = true
        topLabel.backgroundColor = UIColor.mainColor()
    }
    
     func refreshView(_ topic: Topic) {
        titleLabel.text = topic.title
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
    }

}
